package com.ruoyi.system.domain.estate;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼宇信息对象 t_building
 * 
 * @author ruoyi
 */
public class Building extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼宇ID */
    private Long buildingId;

    /** 楼宇编号 */
    @Excel(name = "楼宇编号")
    private String buildingCode;

    /** 楼宇名称 */
    @Excel(name = "楼宇名称")
    private String buildingName;

    /** 建筑面积(平方米) */
    @Excel(name = "建筑面积(平方米)")
    private BigDecimal area;

    /** 楼层数 */
    @Excel(name = "楼层数")
    private Integer floors;

    /** 单元数 */
    @Excel(name = "单元数")
    private Integer units;

    /** 楼宇地址 */
    @Excel(name = "楼宇地址")
    private String address;

    /** 建成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "建成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buildTime;

    /** 物业公司 */
    @Excel(name = "物业公司")
    private String propertyCompany;

    /** 物业费标准(元/平方米/月) */
    @Excel(name = "物业费标准(元/平方米/月)")
    private BigDecimal propertyFeeStandard;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0存在 1删除） */
    private String delFlag;

    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }

    public void setBuildingCode(String buildingCode) 
    {
        this.buildingCode = buildingCode;
    }

    public String getBuildingCode() 
    {
        return buildingCode;
    }

    public void setBuildingName(String buildingName) 
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName() 
    {
        return buildingName;
    }

    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }

    public void setFloors(Integer floors) 
    {
        this.floors = floors;
    }

    public Integer getFloors() 
    {
        return floors;
    }

    public void setUnits(Integer units) 
    {
        this.units = units;
    }

    public Integer getUnits() 
    {
        return units;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setBuildTime(Date buildTime) 
    {
        this.buildTime = buildTime;
    }

    public Date getBuildTime() 
    {
        return buildTime;
    }

    public void setPropertyCompany(String propertyCompany) 
    {
        this.propertyCompany = propertyCompany;
    }

    public String getPropertyCompany() 
    {
        return propertyCompany;
    }

    public void setPropertyFeeStandard(BigDecimal propertyFeeStandard) 
    {
        this.propertyFeeStandard = propertyFeeStandard;
    }

    public BigDecimal getPropertyFeeStandard() 
    {
        return propertyFeeStandard;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return "Building [buildingId=" + buildingId + ", buildingCode=" + buildingCode + ", buildingName=" + buildingName
                + ", area=" + area + ", floors=" + floors + ", units=" + units + ", address=" + address
                + ", buildTime=" + buildTime + ", propertyCompany=" + propertyCompany + ", propertyFeeStandard="
                + propertyFeeStandard + ", status=" + status + ", delFlag=" + delFlag + "]";
    }
} 